<?php

require_once '1_utilities.inc.php';
require_once 'mysql_db.inc.php';
require_once 'matchas.inc.php';

$match_id = get_parameter('match_id');
if ($match_id  == null){

    echo "
    Select the match <br />
    <form action='' method='POST' >
    ";
    get_matches(1);
    echo "
    <br />
    <input type='submit' value='Start match'>
    </form>
    ";
    
/*
    foreach($matchai as $match){
    }
*/
    //$match_id = get_min_match_id();
    }


zaideju_sarasas_html($match_id, 0);

?>


